Integrand size = 28, antiderivative size = 145 \[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=\frac {30 \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) \sqrt {e \sec (c+d x)}}{77 a d e^4}+\frac {18 \sin (c+d x)}{77 a d e (e \sec (c+d x))^{5/2}}+\frac {30 \sin (c+d x)}{77 a d e^3 \sqrt {e \sec (c+d x)}}+\frac {2 i}{11 d (e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3583, 3854, 3856, 2720} \[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=\frac {30 \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) \sqrt {e \sec (c+d x)}}{77 a d e^4}+\frac {30 \sin (c+d x)}{77 a d e^3 \sqrt {e \sec (c+d x)}}+\frac {18 \sin (c+d x)}{77 a d e (e \sec (c+d x))^{5/2}}+\frac {2 i}{11 d (a+i a \tan (c+d x)) (e \sec (c+d x))^{7/2}} \]
[In]
[Out]
Rule 2720
Rule 3583
Rule 3854
Rule 3856
Rubi steps \begin{align*} \text {integral}& = \frac {2 i}{11 d (e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))}+\frac {9 \int \frac {1}{(e \sec (c+d x))^{7/2}} \, dx}{11 a} \\ & = \frac {18 \sin (c+d x)}{77 a d e (e \sec (c+d x))^{5/2}}+\frac {2 i}{11 d (e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))}+\frac {45 \int \frac {1}{(e \sec (c+d x))^{3/2}} \, dx}{77 a e^2} \\ & = \frac {18 \sin (c+d x)}{77 a d e (e \sec (c+d x))^{5/2}}+\frac {30 \sin (c+d x)}{77 a d e^3 \sqrt {e \sec (c+d x)}}+\frac {2 i}{11 d (e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))}+\frac {15 \int \sqrt {e \sec (c+d x)} \, dx}{77 a e^4} \\ & = \frac {18 \sin (c+d x)}{77 a d e (e \sec (c+d x))^{5/2}}+\frac {30 \sin (c+d x)}{77 a d e^3 \sqrt {e \sec (c+d x)}}+\frac {2 i}{11 d (e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))}+\frac {\left (15 \sqrt {\cos (c+d x)} \sqrt {e \sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx}{77 a e^4} \\ & = \frac {30 \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) \sqrt {e \sec (c+d x)}}{77 a d e^4}+\frac {18 \sin (c+d x)}{77 a d e (e \sec (c+d x))^{5/2}}+\frac {30 \sin (c+d x)}{77 a d e^3 \sqrt {e \sec (c+d x)}}+\frac {2 i}{11 d (e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \\ \end{align*}
Time = 1.84 (sec) , antiderivative size = 142, normalized size of antiderivative = 0.98 \[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=-\frac {(e \sec (c+d x))^{3/2} \left (-148 \cos (c+d x)+34 \cos (3 (c+d x))+2 \cos (5 (c+d x))+240 i \sqrt {\cos (c+d x)} \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right ) (\cos (c+d x)+i \sin (c+d x))+78 i \sin (c+d x)+87 i \sin (3 (c+d x))+9 i \sin (5 (c+d x))\right )}{616 a d e^5 (-i+\tan (c+d x))} \]
[In]
[Out]
Time = 8.92 (sec) , antiderivative size = 190, normalized size of antiderivative = 1.31
method | result | size |
default | \(\frac {\frac {2 i \left (\cos ^{5}\left (d x +c \right )\right )}{11}+\frac {2 \sin \left (d x +c \right ) \left (\cos ^{4}\left (d x +c \right )\right )}{11}+\frac {30 i F\left (i \left (-\csc \left (d x +c \right )+\cot \left (d x +c \right )\right ), i\right ) \sqrt {\frac {1}{\cos \left (d x +c \right )+1}}\, \sqrt {\frac {\cos \left (d x +c \right )}{\cos \left (d x +c \right )+1}}}{77}+\frac {18 \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )}{77}+\frac {30 i \sec \left (d x +c \right ) F\left (i \left (-\csc \left (d x +c \right )+\cot \left (d x +c \right )\right ), i\right ) \sqrt {\frac {1}{\cos \left (d x +c \right )+1}}\, \sqrt {\frac {\cos \left (d x +c \right )}{\cos \left (d x +c \right )+1}}}{77}+\frac {30 \sin \left (d x +c \right )}{77}}{a d \sqrt {e \sec \left (d x +c \right )}\, e^{3}}\) | \(190\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.09 (sec) , antiderivative size = 137, normalized size of antiderivative = 0.94 \[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=\frac {{\left (\sqrt {2} \sqrt {\frac {e}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (-11 i \, e^{\left (10 i \, d x + 10 i \, c\right )} - 121 i \, e^{\left (8 i \, d x + 8 i \, c\right )} + 70 i \, e^{\left (6 i \, d x + 6 i \, c\right )} + 226 i \, e^{\left (4 i \, d x + 4 i \, c\right )} + 53 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + 7 i\right )} e^{\left (\frac {1}{2} i \, d x + \frac {1}{2} i \, c\right )} - 480 i \, \sqrt {2} \sqrt {e} e^{\left (6 i \, d x + 6 i \, c\right )} {\rm weierstrassPInverse}\left (-4, 0, e^{\left (i \, d x + i \, c\right )}\right )\right )} e^{\left (-6 i \, d x - 6 i \, c\right )}}{1232 \, a d e^{4}} \]
[In]
[Out]
\[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=- \frac {i \int \frac {1}{\left (e \sec {\left (c + d x \right )}\right )^{\frac {7}{2}} \tan {\left (c + d x \right )} - i \left (e \sec {\left (c + d x \right )}\right )^{\frac {7}{2}}}\, dx}{a} \]
[In]
[Out]
Exception generated. \[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
\[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=\int { \frac {1}{\left (e \sec \left (d x + c\right )\right )^{\frac {7}{2}} {\left (i \, a \tan \left (d x + c\right ) + a\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(e \sec (c+d x))^{7/2} (a+i a \tan (c+d x))} \, dx=\int \frac {1}{{\left (\frac {e}{\cos \left (c+d\,x\right )}\right )}^{7/2}\,\left (a+a\,\mathrm {tan}\left (c+d\,x\right )\,1{}\mathrm {i}\right )} \,d x \]
[In]
[Out]